Avoid a race in the file chooser portal
authorMatthias Clasen <mclasen@redhat.com>
Sat, 1 Jul 2017 23:13:03 +0000 (19:13 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 7 Jul 2017 16:03:55 +0000 (12:03 -0400)
commit388078ba88561c64299fe892720452e679e00be3
tree0d910ba0f4be093b7f05b1cb8d14d90548facffd
parent29ff3c072c61ce227a4b16840282293d74211a35
Avoid a race in the file chooser portal

Use the new predictable request object path and connect
to the Response signal before issuing the portal call.
This avoids a race that is pretty unlikely to hit in
the filechooser case.
gtk/gtkfilechoosernativeportal.c